package base;

import java.util.Vector;


public class ArrayOfIntake {
    protected Intake[] intakes;
    
    public ArrayOfIntake() {
    }
    
    public ArrayOfIntake(Intake[] intakes) {
        this.intakes = intakes;
    }

    public ArrayOfIntake(Vector intakesVector) {
        this.intakes = new Intake[intakesVector.size()];
        intakesVector.copyInto(this.intakes);
    }
    
    public Intake[] getIntakes() {
        return intakes;
    }
    
    public void setIntakes(Intake[] intakes) {
        this.intakes = intakes;
    }

    public int size() {
        return intakes.length;
    }
}
